# $Id$
# Maintainer:   

pkgname=libcacard
pkgver=2.5.3
pkgrel=1
pkgdesc='(Common Access Card) library thar provides emulation of smart cards to a virtual card reader running in a guest virtual machine'
arch=(i686 x86_64)
license=(GPL2)
url='http://www.spice-space.org/page/Libcacard'
depends=(nss glib2)
source=(http://www.spice-space.org/download/libcacard/libcacard-$pkgver.tar.xz)
sha1sums=('b085bdf0b7558088c490f733aa1e1f6ab5b81787')

build () {
  cd libcacard-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd libcacard-$pkgver
  make DESTDIR="$pkgdir" install
}
